package com.niuwa.p2p.dao.fund;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.fund.PayChlRuleKey;

@MyBatisDao
public interface PayChlRuleDao {
    int deleteByPrimaryKey(PayChlRuleKey key);

    int insert(PayChlRuleKey record);

    int insertSelective(PayChlRuleKey record);
    
    /**
     * 根据机构编号获取渠道规则ID
     * @param partnerNo
     * @return
     */
    public String selectPayChlRuleByPartnerNo(String partnerNo);
}